package com.yanqu.road.entity.log.cross.tongbing.peak;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_l_ck_peak_tongbing_log_city_event", desc = "巅峰统兵-城池事件日志", autoSave = true, uploadCk = true, isCross = true)
public class LogTonBingCityEvent extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "类型，1刷新，2生效")
    private int type;
    @FieldTypeAnnotation(desc = "配置时间")
    private long configTime;
    @FieldTypeAnnotation(desc = "城池ID")
    private int cityId;
    @FieldTypeAnnotation(desc = "详情")
    private String detail;
    @FieldTypeAnnotation(desc = "匹配id")
    private int matchId;
    @FieldTypeAnnotation(desc = "轮次")
    private int turn;
    @FieldTypeAnnotation(desc = "战场类型")
    private int warType;

    public LogTonBingCityEvent(int activityId, int type, long configTime, int cityId, String detail,int matchId,int turn,int warType) {
        this.activityId = activityId;
        this.type = type;
        this.configTime = configTime;
        this.cityId = cityId;
        this.detail = detail;
        this.matchId = matchId;
        this.turn = turn;
        this.warType = warType;
    }

    @Override
    public long getUserId() {
        return 0;
    }
}
